import { _decorator, Component, director, Node } from 'cc';
import { Global } from './Global';
const { ccclass, property } = _decorator;

@ccclass('HomeWnd')
export class HomeWnd extends Component {
    start() {

        Global.init().then(() => {
            director.loadScene('GameScene');
        })
    }

    update(deltaTime: number) {

    }
}


